file(GENERATE OUTPUT "generated.txt" CONTENT "
  $<LIST:TRANSFORM,0000;1001;0002,REPLACE,^0,>
  $<LIST:TRANSFORM,0000;1001;0002,REPLACE,^(a|0),x>
  $<LIST:TRANSFORM,0000;1001;0002,REPLACE,(1|^)0,x>
")
